Skip to content

Align type scale to the live continentaltire.com#8

Merged
benpeter merged 2 commits into
mainfrom
conti-type-scale
Jul 24, 2026
Merged

Align type scale to the live continentaltire.com#8
benpeter merged 2 commits into
mainfrom
conti-type-scale

Conversation

@benpeter

Copy link
Copy Markdown
Collaborator

Fix #7

Align the type scale to the live continentaltire.com, measured with getComputedStyle at 1440px.

Test URLs:

Headings use one Stag Sans family, weight-differentiated (300 Thin, 400 Light, 700 Book). Mid headings now match the live Light weight instead of the Book face. Sizes match live: mid headings 30px, body buttons 12px, news teasers 14px/700. h1 caps at 42px, since the live site does not render a heading larger than that.

The article template sets a 15px reading column with a centered 42px title and light subheads, matching the live /learn pages. It backs the migrated /learn and /experience content.

Testing: verified at 1440px against the live homepage and the live Habitat for Humanity /learn article. Homepage blocks and article title, body, and image match the live type scale. eslint and stylelint pass.

benpeter added 2 commits July 24, 2026 18:30
Headings and buttons rendered at the wrong sizes and weights. Live uses one
Stag Sans family, weight-differentiated (300 Thin, 400 Light, 700 Book), not a
separate bold family. Point --heading-font-family at Stag Sans so the weight
picks the right face.

Match live sizes measured with getComputedStyle: mid headings 30px (was 32px),
body buttons 12px (was 14px), news teasers 14px/700 (was 18px/300). Category
tiles get 0.25px tracking. Drop the hero H1 letter-spacing. Footer pills stay
at 14px.
Article pages now read like the live continentaltire.com /learn articles.
Cap h1 at 42px site-wide, since live never renders a heading larger than
that. The article body sets a 15px reading column with a centered 42px
title and light subheads, measured from the live pages.

Verified against the live Habitat for Humanity article at 1440px: title
42px/300 centered, body 15px/400 in a narrow column, featured image at 2:1.
@aem-code-sync

aem-code-sync Bot commented Jul 24, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented Jul 24, 2026

Copy link
Copy Markdown
Page Scores Audits Google
📱 / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@benpeter
benpeter merged commit 90104e6 into main Jul 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type scale differs from the live continentaltire.com

1 participant